#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2021/7/3
# @Author  : LiJun
# @Email   : lijun@tianyancha.com
# @Version : 1.0.0

from common.appium_base_method import BasePage
from appium_0701.po_page.staff_page import StaffPage
import allure


class MainPage(BasePage):


    @allure.step("点击「通讯录」")
    def goto_Address(self):
        self.find_click(*self.by_maps(self.element["AddressBook"]),outtime=12)

        return StaffPage(driver_base=self.driver, element=self.element)
